Update the old magic with new one.
authorPlatonides <platonides@users.mediawiki.org>
Mon, 19 Jul 2010 23:08:52 +0000 (23:08 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Mon, 19 Jul 2010 23:08:52 +0000 (23:08 +0000)
commita5655cfdf27ba739571ddb6049a11b13e8067b4d
tree898fd122b4f52bbe9102db5c1aa6eb2c8c68b845
parent3f1efa9ec6c1a310e774d4d374d2c23f12be6455
Update the old magic with new one.

Not only should this have used setContainsOldMagic() instead of manually modifying the member,
the outdated magic reduced the caching time to one hour even if you just used something like
{{currentmonth}}, which is hinted to one day.

This is the only usage of old magic, we could remove it but perhaps it is used by some extension?
includes/parser/Parser.php